package com.example.wangzh.developkit.control;

import android.widget.ListView;

import com.example.wangzh.developkit.R;
import com.example.wangzh.developkit.adapter.CountDownAdapter;
import com.example.wangzh.developkit.base.BaseActivity;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

/**
 * Created by wangzh on 2017/10/20.
 */

public class CountDownListActivity extends BaseActivity {
    @BindView(R.id.lsv)
    ListView lsv;

    @Override
    protected int getLayout() {
        return R.layout.activity_countdown_list;
    }

    @Override
    protected void initView() {
        List<Long> longs=new ArrayList<>();
        longs.add(new Long(10000));
        longs.add(new Long(20000));
        longs.add(new Long(30000));
        longs.add(new Long(40000));
        longs.add(new Long(50000));
        CountDownAdapter countDownAdapter=new CountDownAdapter(this,longs);
        lsv.setAdapter(countDownAdapter);
    }
}
